<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      >
    <ui:composition template="index.xhtml">
        <ui:define name="body">
            <h:form>
                <div id="breadcrumb">
                    <p:commandLink  value="Inicio" update="@form" actionListener="#{managerRedirect.redirect('index.xhtml')}" immediate="true"/> >
                    <p:commandLink  value="Configurações" update="@form" actionListener="#{managerRedirect.redirect('configuration.xhtml')}" immediate="true"/> >
                    <p:commandLink  value="Orgão" update="@form" actionListener="#{managerRedirect.redirect('indexOrgan.xhtml')}" immediate="true"/> > 
                    <p:commandLink  value="Visualizar" />
                </div>
            </h:form>
                <p:panel header="Vizualizar Orgão" style=" width: 100%">
                    <h:form id="form" acceptcharset="utf-8">
                        <p:growl id="msg" life="3000"/>
                        <fieldset style="border: 1px solid #E3E3E3; color: #3DA2DC; font-size: 13px;">
                            <legend>Dados do Orgão</legend>
                            <h:panelGrid  columns="2" style="color: #000000; font-size: 12px;" >
                                <p:outputLabel value="Nome :" style="float: right; font-weight: bold"/>
                                <h:outputLabel value="#{managerSearchOrgan.organ.name}"/>
                                <p:outputLabel value="Vara :" style="float: right; font-weight: bold"/>
                                <p:outputLabel value="#{managerSearchOrgan.organ.vara}"/>
                                <p:outputLabel value="Cidade :" style="float: right; font-weight: bold"/>
                                <p:outputLabel value="#{managerSearchOrgan.organ.city.name}"/>
                            </h:panelGrid>
                        </fieldset>
                        <br/>
                        <center>
                            <p:commandButton value="Voltar" icon="ui-icon-arrowreturnthick-1-w" style="font-size: 12px; font-family: sans-serif;" actionListener="#{managerRedirect.redirect('indexOrgan.xhtml')}" immediate="true"/>
                        </center>
                    </h:form>
                </p:panel> 
        </ui:define>
    </ui:composition>
</html>


